<template>
  <div class="settings">
    <van-nav-bar safe-area-inset-top placeholder title="Results" left-arrow fixed @click-left="onClickLeft" />
    <van-collapse class="marginTop15" v-model="activeNames">
      <van-collapse-item title="Phase R" name="1">
        <van-row class="rowH">
          <van-col span="4">Items:</van-col>
          <van-col span="5">59.S1</van-col>
          <van-col span="5">59.S2</van-col>
          <van-col span="5">27.S1</van-col>
          <van-col span="5">27.S2</van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vt:</van-col>
          <van-col span="5"><div class="ipt">{{aR[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[0] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vs:</van-col>
          <van-col span="5"><div class="ipt">{{aR[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[1] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vo:</van-col>
          <van-col span="5"><div class="ipt">{{aR[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[2] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Tt:</van-col>
          <van-col span="5"><div class="ipt">{{aR[3] | ifNull('s')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[3] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[3] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[3] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">To:</van-col>
          <van-col span="5"><div class="ipt">{{aR[4] | ifNull('s')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[4] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[4] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[4] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Result:</van-col>
          <van-col span="5"><div class="ipt">{{aR[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[5] | ifNull}}</div></van-col>
        </van-row>
        <van-divider :style="{borderColor: '#848F88'}"></van-divider>
        <van-row class="rowH">
          <van-col span="4">Items:</van-col>
          <van-col span="5">81&gt;.S1</van-col>
          <van-col span="5">81&lt;.S1</van-col>
          <van-col span="5">81&gt;.S2</van-col>
          <van-col span="5">81&lt;.S2</van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Ft:</van-col>
          <van-col span="5"><div class="ipt">{{aR[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[6] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Fs:</van-col>
          <van-col span="5"><div class="ipt">{{aR[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[7] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Fo:</van-col>
          <van-col span="5"><div class="ipt">{{aR[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[8] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Tt:</van-col>
          <van-col span="5"><div class="ipt">{{aR[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[9] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">To:</van-col>
          <van-col span="5"><div class="ipt">{{aR[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[10] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Result:</van-col>
          <van-col span="5"><div class="ipt">{{aR[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bR[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cR[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dR[11] | ifNull}}</div></van-col>
        </van-row>
      </van-collapse-item>
      <van-collapse-item title="Phase S" name="2">
        <van-row class="rowH">
          <van-col span="4">Items:</van-col>
          <van-col span="5">59.S1</van-col>
          <van-col span="5">59.S2</van-col>
          <van-col span="5">27.S1</van-col>
          <van-col span="5">27.S2</van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vt:</van-col>
          <van-col span="5"><div class="ipt">{{aS[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[0] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vs:</van-col>
          <van-col span="5"><div class="ipt">{{aS[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[1] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vo:</van-col>
          <van-col span="5"><div class="ipt">{{aS[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[2] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Tt:</van-col>
          <van-col span="5"><div class="ipt">{{aS[3] | ifNull('s')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[3] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[3] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[3] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">To:</van-col>
          <van-col span="5"><div class="ipt">{{aS[4] | ifNull('s')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[4] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[4] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[4] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Result:</van-col>
          <van-col span="5"><div class="ipt">{{aS[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[5] | ifNull}}</div></van-col>
        </van-row>
        <van-divider :style="{borderColor: '#848F88'}"></van-divider>
        <van-row class="rowH">
          <van-col span="4">Items:</van-col>
          <van-col span="5">81&gt;.S1</van-col>
          <van-col span="5">81&lt;.S1</van-col>
          <van-col span="5">81&gt;.S2</van-col>
          <van-col span="5">81&lt;.S2</van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Ft:</van-col>
          <van-col span="5"><div class="ipt">{{aS[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[6] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Fs:</van-col>
          <van-col span="5"><div class="ipt">{{aS[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[7] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Fo:</van-col>
          <van-col span="5"><div class="ipt">{{aS[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[8] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Tt:</van-col>
          <van-col span="5"><div class="ipt">{{aS[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[9] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">To:</van-col>
          <van-col span="5"><div class="ipt">{{aS[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[10] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Result:</van-col>
          <van-col span="5"><div class="ipt">{{aS[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bS[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cS[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dS[11] | ifNull}}</div></van-col>
        </van-row>
      </van-collapse-item>
      <van-collapse-item title="Phase T" name="3">
        <van-row class="rowH">
          <van-col span="4">Items:</van-col>
          <van-col span="5">59.S1</van-col>
          <van-col span="5">59.S2</van-col>
          <van-col span="5">27.S1</van-col>
          <van-col span="5">27.S2</van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vt:</van-col>
          <van-col span="5"><div class="ipt">{{aT[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[0] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[0] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vs:</van-col>
          <van-col span="5"><div class="ipt">{{aT[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[1] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[1] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Vo:</van-col>
          <van-col span="5"><div class="ipt">{{aT[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[2] | ifNull('V')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[2] | ifNull('V')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Tt:</van-col>
          <van-col span="5"><div class="ipt">{{aT[3] | ifNull('s')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[3] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[3] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[3] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">To:</van-col>
          <van-col span="5"><div class="ipt">{{aT[4] | ifNull('s')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[4] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[4] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[4] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Result:</van-col>
          <van-col span="5"><div class="ipt">{{aT[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[5] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[5] | ifNull}}</div></van-col>
        </van-row>
        <van-divider :style="{borderColor: '#848F88'}"></van-divider>
        <van-row class="rowH">
          <van-col span="4">Items:</van-col>
          <van-col span="5">81&gt;.S1</van-col>
          <van-col span="5">81&lt;.S1</van-col>
          <van-col span="5">81&gt;.S2</van-col>
          <van-col span="5">81&lt;.S2</van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Ft:</van-col>
          <van-col span="5"><div class="ipt">{{aT[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[6] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[6] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Fs:</van-col>
          <van-col span="5"><div class="ipt">{{aT[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[7] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[7] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Fo:</van-col>
          <van-col span="5"><div class="ipt">{{aT[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[8] | ifNull('Hz')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[8] | ifNull('Hz')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Tt:</van-col>
          <van-col span="5"><div class="ipt">{{aT[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[9] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[9] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">To:</van-col>
          <van-col span="5"><div class="ipt">{{aT[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[10] | ifNull('ms')}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[10] | ifNull('ms')}}</div></van-col>
        </van-row>
        <van-row gutter="10" class="rowH2">
          <van-col span="4">Result:</van-col>
          <van-col span="5"><div class="ipt">{{aT[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{bT[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{cT[11] | ifNull}}</div></van-col>
          <van-col span="5"><div class="ipt">{{dT[11] | ifNull}}</div></van-col>
        </van-row>
      </van-collapse-item>
    </van-collapse>
  </div>
</template>

<script>

export default {
  data() {
    return {
      from:sessionStorage.getItem('setFrom'),
      activeNames:[],
      aR:[],
      bR:[],
      cR:[],
      dR:[],
      aS:[],
      bS:[],
      cS:[],
      dS:[],
      aT:[],
      bT:[],
      cT:[],
      dT:[],
      inverterType:localStorage.getItem('inverterType')
    };
  },
  methods: {
    onClickLeft() {
      this.$router.push({ path: this.from});
    },
    //获取安规数据
    async testSafety(){
      this.comm.loadingShow();
      let datas = await this.SETAPI.LocalIn({'optType':'SelfTestRequest','pwd':sessionStorage.getItem('bdPwd')});
      if(datas!=null||datas!=undefined){
        let arr=datas['data'];
        this.aR=[arr[80],arr[82],arr[83],arr[81],arr[84],"Pass",arr[36],arr[38],arr[39],arr[37],arr[40],"Pass"];
        this.bR=[arr[3],arr[5],arr[6],arr[4],arr[7],"Pass",arr[47],arr[49],arr[50],arr[48],arr[51],"Pass"];
        this.cR=[arr[14],arr[16],arr[17],arr[15],arr[18],"Pass",arr[58],arr[60],arr[61],arr[59],arr[62],"Pass"];
        this.dR=[arr[25],arr[27],arr[28],arr[26],arr[29],"Pass",arr[69],arr[71],arr[72],arr[70],arr[73],"Pass"];
        if(this.inverterType==5||this.inverterType==6||this.inverterType==7||this.inverterType==14||this.inverterType==16){
          this.aS=[arr[80],arr[85],arr[86],arr[81],arr[87],"Pass",arr[36],arr[41],arr[42],arr[37],arr[43],"Pass"];
          this.bS=[arr[3],arr[8],arr[9],arr[4],arr[10],"Pass",arr[47],arr[52],arr[53],arr[48],arr[54],"Pass"];
          this.cS=[arr[14],arr[19],arr[20],arr[15],arr[21],"Pass",arr[58],arr[63],arr[64],arr[59],arr[65],"Pass"];
          this.dS=[arr[25],arr[30],arr[31],arr[26],arr[32],"Pass",arr[69],arr[74],arr[75],arr[70],arr[76],"Pass"];
          this.aT=[arr[80],arr[88],arr[89],arr[81],arr[90],"Pass",arr[36],arr[44],arr[45],arr[37],arr[46],"Pass"];
          this.bT=[arr[3],arr[11],arr[12],arr[4],arr[13],"Pass",arr[47],arr[55],arr[56],arr[48],arr[57],"Pass"];
          this.cT=[arr[14],arr[22],arr[23],arr[15],arr[24],"Pass",arr[58],arr[66],arr[67],arr[59],arr[68],"Pass"];
          this.dT=[arr[25],arr[33],arr[34],arr[26],arr[35],"Pass",arr[69],arr[77],arr[78],arr[70],arr[79],"Pass"];
        }
      }else{
        this.comm.tipsShow('InvNoResponse');
      }
    }
  },
  mounted() {
    setTimeout(()=>{
      this.testSafety();
    },1000);
  }
};
</script>

<style scoped lang="less">
.rowH{
  height: 32px;
  line-height: 32px;
  text-align: center;
}
.rowH2{
  height: 40px;
  line-height: 40px;
  text-align: center;
}
.ipt{
  width: 98%;
  height: 30px;
  line-height: 30px;
  border: 1px solid #848F88;
  text-align: center;
  margin: 5px 0 0 0;
}
.selftest_h{
  width: 100%; 
  height: 1px; 
  border-top: 1px dashed #161817;
  padding: 10px 0;
}
.col-test{color: #161817; text-align: center; font-weight: bold;}
.col-input{width: 95%; height: 25px; border: 1px solid #848F88;}
input.selftestInput{width: 100%; height: 23px; text-align: center;}

</style>
